package cn.exrick.xboot.modules.assessment.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author yck
 */
@Data
@Entity
@Table(name = "hk_assessment_index")
@TableName("hk_assessment_index")
@ApiModel(value = "考核指标")
public class HkAssessmentIndex extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    private String indexName;
    private String indexDescribe;
    private String indexScore;

    /**
     * 指标类型（0.加分项1.减分项2.加减分项3.自定义加分项4.自定义减分项）
     */
    private Integer indexType;

    /**
     * 指标分类名称
     */
    private String indexClassifyName;

    /**
     * 指标分类id
     */
    private String indexClassifyId;
    /**
     * 岗位id
     */
    private String hontPostId;
    /**
     * 岗位名称
     */
    private String hontPostName;

    @Transient
    private String modelName;

    @Transient
    private Integer sortNumber;

}